package com.group3.group3.user.service;

import com.group3.group3.login.entity.MenuLevelEntity;
import com.group3.group3.mybatis.entity.PtUserEntity;
import com.group3.group3.mybatis.flexigrid.PadingRstType;
import com.group3.group3.mybatis.flexigrid.PagingBean;
import com.group3.group3.mybatis.ztree.ZtreeEntity;
import com.group3.group3.user.entity.UserSearchEnity;

import java.util.List;

public interface UserService {
    PtUserEntity queryUserInfoByUserName(String username);

    List<MenuLevelEntity> queryMenuInfoByLang(String lang);

    PadingRstType<PtUserEntity> getUserInfolistByPage(UserSearchEnity search, PagingBean paging);

    void deleteUserById(String userUuid);

    List<ZtreeEntity> getRoleZtreeListByUserId(String userUuid);

    void saveRoleByUserId(String userUuid, String roleUuids);

    public List<String> queryMenuInfoList(String userUuid);

    void addUser(String uuid,String userNick, String userName, String password, String mobile, String email);

    void updateUser(String uuid,String userNick, String userName, String password, String mobile, String email);

    void deleteUser(String uuid);
}
